wx.cloud.init()
const db = wx.cloud.database({});
const cont = db.collection('items');

Page({
  data: {
    ne:[],
    
  },

  onLoad: function(options) {
    var _this=this;
    var Name = options.Name

    //console.log('Name',Name);
    db.collection('items').where({
      name:Name
    })
    .get({
      success: res =>{
        console.log('res.data',res.data);
        
        this.setData({
          ne:res.data
        })
      } 
    })
  },
})